
export function callNet(opt) {
  	AndroidApi.callNet({
		"type": opt.type || "post",
		"param": {
			"url": opt.url || "/open/buzadapter/access/commonInvoke",
			"code": opt.code || "restApp",
			"inputParams": {
				"data":opt.params || ""
			}
		}
	},
	function(data) {
		if(data.resultCode=="9999"){
			opt.successBack instanceof Function && opt.successBack(data);
		}else{
			console.log(data.resultMsg);
		};
	},
	function(data) {
		console.log("网络出错了");
	})
}